home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User: The RISC OS Graphics CD
/
Acorn User: The RISC OS Graphics CD.iso
/
argonet
/
translator.spk
/
!Translatr
/
!Run
< prev
next >
Wrap
Text File
|
1998-10-11
|
2KB
|
57 lines
|>!Run
|
| !Run file for Translator
|
Obey <Obey$Dir>.!Boot
RMEnsure UtilityModule 3.10 Error I need RISC OS 3.10 or later
RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad System:Modules.CallASWI
RMEnsure UtilityModule 3.70 RmEnsure CallASWI 0.01 Error I need CallASWI 0.01 or later
If "<Wimp$ScrapDir>" = "" then Error Wimp$ScrapDir not defined
Set Translator$ModulesDir <Translator$Dir>.Modules
Set Translator$StoreDir <Wimp$ScrapDir>
Set Translator$ScrapDir <Wimp$ScrapDir>
RMEnsure ZeriRegister 0.00 RMLoad <Translator$ModulesDir>.ZRegister
RMEnsure ZeriWimpUtils 1.03 RMLoad <Translator$ModulesDir>.ZWimpUtils
RMEnsure ZeriWimpUtils 1.03 Error I need ZeriWimpUtils 1.03 or later
RMEnsure ZeriLocal 1.01 RMLoad <Translator$ModulesDir>.ZLocal
RMEnsure ZeriLocal 1.01 Error I need ZeriLocal 1.01 or later
RMEnsure ZeriBuffer 1.02 RMLoad <Translator$ModulesDir>.ZBuffer
RMEnsure ZeriBuffer 1.02 Error I need ZeriBuffer 1.02 or later
RMEnsure ZeriArea 1.10 RMLoad <Translator$ModulesDir>.ZArea
RMEnsure ZeriArea 1.10 Error I need ZeriArea 1.10 or later
Set LoadModule No
RMEnsure ZeriImageIO 2.30 Set LoadModule Yes
If "<LoadModule>" = "Yes" then RMLoad <Translator$ModulesDir>.ZImageIO
If "<LoadModule>" = "Yes" then Set ZeriImageIO$BinDir <Translator$Dir>.Bin
If "<LoadModule>" = "Yes" then Set ZeriImageIO$ScrapDir <Wimp$ScrapDir>
Unset LoadModule
RMEnsure ZeriImageIO 2.30 Error I need ZeriImageIO 2.30 or later
| If you don't want Translator to use a dynamic area for the heap (as
| available on RISC OS 3.5 and higher) comment out the following line.
Set Translator_Heap 1
RMEnsure UtilityModule 3.50 Unset Translator_Heap
| If no dynamic area is being used for the heap, ensure the wimp slot
| is large enough or Translator will crash when running out of memory.
WimpSlot -min 160K -max 160K
If "<Translator_Heap>" = "" then WimpSlot -min 320K -max 320K
RegisterModule ZeriWimpUtils
RegisterModule ZeriLocal
RegisterModule ZeriBuffer
RegisterModule ZeriArea
RegisterModule ZeriImageIO
Run <Translator$Dir>.Translator %*0
UnregisterModule ZeriImageIO
UnregisterModule ZeriArea
UnregisterModule ZeriBuffer
UnregisterModule ZeriLocal
UnregisterModule ZeriWimpUtils